import axios from 'axios'
import config from '../config'

export function getMyInfo() {
  return axios.get(config.SERVER_URL + window.apiPath + '/users/profile', {responseType: 'json'})
    .then(resp => resp.data)
}
